#生成1-100随机数，生成30个，不重复
import random

random.random()

resultList = []
while len(resultList) < 30:
    i = random.randint(1,100)
    if i not in resultList:
        resultList.append(i)
print(resultList)
